<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="Public/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="Public/Flat/dist/css/flat-ui.css" rel="stylesheet">
	   
	    <link rel="shortcut icon" href="Public/Flat/img/favicon.ico">
	   
	</head>
	<body>
		<form action="" method="post">
		<div class="alert alert-success">修改属性</div>
		<div class="form-group">
			<label for="exampleInputEmail1">名称</label>
			
			<input type="text" name="typeattr_name" class="form-control" value="{{$olddata['typeattr_name']}}">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">类别</label>
			<br>
			属性：<input type="radio"  name="typeattr_type" id="" value="0" <?php if($olddata['typeattr_type']=="0"){ ?>checked<?php }?> >
			规格：<input type="radio"  name="typeattr_type" id="" value="1" <?php if($olddata['typeattr_type']=="1"){ ?>checked<?php }?> >
			
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性值(用|隔开)</label>
			<textarea name="typeattr_value" id="" cols="30" rows="10" class="form-control">{{$olddata['typeattr_value']}}</textarea>
			
		</div>
		<input type="hidden" name="typeattr_id" id="typeattr_id" value="{{$olddata['typeattr_id']}}" />
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
	</body>
</html>
